Skip to content

Emit a remoteMethodDisabled event when disabling a remote method - #2266

Merged
superkhau merged 1 commit into
strongloop:masterfrom
supasate:feature/emit-remote-method-disabled-event
Apr 28, 2016
Merged

Emit a remoteMethodDisabled event when disabling a remote method#2266
superkhau merged 1 commit into
strongloop:masterfrom
supasate:feature/emit-remote-method-disabled-event

Conversation

@supasate

Copy link
Copy Markdown
Contributor

This PR for #686 to make loopback emits a remoteMethodDisabled event. I'll make another PR for loopback-component-explorer to register for this event.

@slnode

slnode commented Apr 27, 2016

Copy link
Copy Markdown

Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."

Comment thread lib/application.js Outdated
this.emit('modelRemoted', Model.sharedClass);
}

_self = this;

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

var self = this;

@superkhau

Copy link
Copy Markdown
Contributor

Minor comments, please fix them and squash the commits.

@superkhau superkhau self-assigned this Apr 27, 2016
@supasate
supasate force-pushed the feature/emit-remote-method-disabled-event branch from 0701b85 to be5a4b3 Compare April 28, 2016 02:01
… a remote method.

Signed-off-by: Supasate Choochaisri <supasate.c@gmail.com>
@supasate
supasate force-pushed the feature/emit-remote-method-disabled-event branch from be5a4b3 to 0ca2438 Compare April 28, 2016 02:04
@supasate

Copy link
Copy Markdown
Contributor Author

@superkhau I've fixed them. Please check.

@superkhau

Copy link
Copy Markdown
Contributor

LGTM. Thanks for the contribution! ;)

@superkhau
superkhau merged commit 04f5434 into strongloop:master Apr 28, 2016
@supasate

Copy link
Copy Markdown
Contributor Author

@superkhau There is another PR (strongloop/loopback-component-explorer#157) that consumes this feature to make #686 complete.

@supasate
supasate deleted the feature/emit-remote-method-disabled-event branch April 28, 2016 14:23
@bajtos

bajtos commented Apr 29, 2016

Copy link
Copy Markdown
Member

@superkhau have you back-ported this patch to 2.x too? I don't see any 2.x commits linked to this pull request.

@superkhau

Copy link
Copy Markdown
Contributor

@bajtos I forgot to backport it. Submitted another PR #2272

@superkhau

superkhau commented Apr 30, 2016

Copy link
Copy Markdown
Contributor

I also notice a few errors within the merged PR, so I submitted another PR with the fixes on it. See #2271

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants